using System;
using System.Collections.Generic;
using DapperExtensions.Mapper;
using MHI.InspectionManager.Interfaces; 

namespace MHI.InspectionManager.Data
{
	public class DevPlanroutedataTMapper : ClassMapper<DevPlanroutedataT>
	{
		public DevPlanroutedataTMapper()
		{
			Table("dev_planroutedata_t");
			Map(f => f.Id).Column("id").Key(KeyType.Assigned);
			Map(f => f.PlanId).Column("plan_id");
			Map(f => f.PipeMuid).Column("pipe_muid");
			Map(f => f.PipeOder).Column("pipe_oder");
			Map(f => f.Lon).Column("lon");
			Map(f => f.Lat).Column("lat");
			Map(f => f.GmtCreated).Column("gmt_created");
			Map(f => f.GmtModified).Column("gmt_modified");
			Map(f => f.StateInfo).Column("state_info");
			Map(f => f.IsUse).Column("is_use");
			Map(f => f.Version).Column("version");
		}
	}
}
